<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html jwcid="@Shell" title="Customer Infomation Manage" stylesheet="asset:main">
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">  
  <title>新增客户</title>
  <link href="/css/main.css"  rel="stylesheet" type="text/css">
  <script type="text/javascript" src="js/common.js"></script>
</head>


<body jwcid="@Body">

<div align="center" style="color:red;padding-top:3px;" jwcid="callbackMsg@Any" ><span jwcid="@Insert" value="ognl:callbackMsg">ajax callback message</span><span jwcid="error">error</span></div>

<form jwcid="customerInfoForm">

    <fieldset>
		<legend>新增客户信息</legend>

		<table>          

            <tr>
				<td align="right" width="95" nowrap>客户名称&nbsp;</td>
				<td><input name="customerName" jwcid="customerName" class="inputWidth"/>
                    <input type="submit" jwcid="checkCustomerName" value="检测" class="buttonStyle" updateComponents="callbackMsg"/></td>
				<td align="right" width="95" nowrap>国家&nbsp;</td>
				<td><input name="country" jwcid="country" class="inputWidth"/></td>
            </tr>

            <tr>
				<td align="right" width="95" nowrap>州/省&nbsp;</td>
				<td><input name="province" jwcid="province" class="inputWidth"/></td>
				<td align="right" width="95" nowrap>城市&nbsp;</td>
				<td><input name="city" jwcid="city" class="inputWidth"/></td>
            </tr>

            <tr>
                <td align="right" width="95" nowrap>地址&nbsp;</td>
                <td><input name="address" jwcid="address" class="inputWidth"/></td>
                <td align="right" width="95" nowrap>网址&nbsp;</td>
                <td><input name="website" jwcid="website" class="inputWidth"/></td>
            </tr>

            <!--<tr>-->
                <!--<td align="right" width="95" nowrap>集团客户&nbsp;</td>-->
                <!--<td nowrap>-->
                    <!--<select name="isGroup" jwcid="@PropertySelection" value="ognl:isGroupSelected" model="ognl:isGroupselectionModel">-->
                    <!--<select id="isGroup" jwcid="isGroup" onchange="showGroup()">-->
                        <!--<option value="1">是</option>-->
                        <!--<option value="2">否</option>-->
                    <!--</select>-->
                <!--</td>-->
                <!--<td align="right" width="95" nowrap><div id="groupNameDiv" style="display:none">集团名称&nbsp;</div></td>-->
                <!--<td nowrap><div  id="groupInput" style="display:none"><input jwcid='groupName'/></div></td>-->
            <!--</tr>-->

            <tr>
                <td align="right" width="95" nowrap>主要产品&nbsp;</td>
                <td>
                    <select jwcid="product">
                        <option value="1">产品一</option>
                    </select>
                </td>
                <td align="right" width="95" nowrap>客户等级&nbsp;</td>
                <td>
                    <select jwcid="customerLevel">
                        <option value="0">---请选择---</option>
                        <option value="1">核心</option>
                        <option value="2">重点</option>
                        <option value="3">标准</option>
                    </select>
                </td>
            </tr>

            <tr>
                <td align="right" width="95" nowrap>客户来源&nbsp;</td>
                <td>
                    <select jwcid="customerSource">
                        <option value="0">---请选择---</option>
                    </select>
                </td>                
                <td align="right" width="95" nowrap>&nbsp;</td>
                <td nowrap>
                    <!--<select jwcid="isProxy" onchange="this.form.events.refresh()">-->
                        <!--<option value="1">是</option>-->
                        <!--<option value="2">否</option>-->
                    <!--</select>-->
                </td>
            </tr>
            <!--<span jwcid="@If" condition="ognl:showDirect">-->
            <!--<tr>-->
				<!--<td align="right" width="95" nowrap>直接客户类型&nbsp;</td>-->
                <!--<td>-->
                    <!--<select jwcid="directCustomerType" onchange="this.form.events.refresh()">-->
                        <!--<option value="1">建站</option>-->
                        <!--<option value="2">广告</option>-->
                    <!--</select>-->
                <!--</td>-->
                <!--<td align="right" width="95" nowrap>直接客户名称&nbsp;</td>-->
                <!--<td>-->
                    <!--<select jwcid="directCustomer" onChange="test()">-->
                        <!--<option value="1">HP</option>-->
                        <!--<option value="2">IBM</option>-->
                    <!--</select>-->
                <!--</td>-->
            <!--</tr>-->
            <!--</span>-->

            <tr>
                <td align="right" nowrap>备注&nbsp;</td>
                <td colspan="3">
                    <textarea rows="3" cols="48" jwcid="comment"></textarea>
                </td>
            </tr>

        </table>

    </fieldset>

<table>
    <tr>
        <td>&nbsp;</td>
        <td align="right" nowrap>
            <input jwcid="@Submit" action="listener:goback" type="Button" class="buttonStyle" value="返回上一页"/>
            <input jwcid="saveAdd" type="submit"  class="buttonStyle" value=" 保存并添加 "/>
            <input jwcid="justSubmit" type="submit" class="buttonStyle" value=" 保存 "/>
        </td>
    </tr>
</table>


</form>

</body>
</html>


